package com.example.rxbus.bean;

import java.util.List;

public class DelStateEvent<T> {
    private String msg;
    private T obj;
    private int code;
    private List<Float> list;

    public DelStateEvent(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public DelStateEvent() {

    }

    public DelStateEvent(T obj, int code) {
        this.obj = obj;
        this.code = code;
    }

    public DelStateEvent(T obj) {
        this.obj = obj;
    }

    public DelStateEvent(String msg) {
        this.msg = msg;
    }

    public DelStateEvent(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<Float> getList() {
        return list;
    }

    public void setList(List<Float> list) {
        this.list = list;
    }
}